package small.common.designPattern.behavioral.chainOfResponsibility.slotchain;

import small.common.core.spi.Spi;

@Spi(order = 300, isSingleton = false, isDefault = true)
public class ParamFlowTestSlot extends AbstractLinkedProcessorSlot<String> {

    @Override
    public void entry(String resource) throws Throwable {
        System.out.println("进入到了" + this.getClass().getSimpleName() + "----entry中");
        fireEntry(resource);
    }

    @Override
    public void exit(String resource) throws Throwable {
        System.out.println("进入到了" + this.getClass().getSimpleName() + "----exit中");
        fireExit(resource);
    }

}
